package org.gruposp2p.aula.gwt.client.content.student;

import org.gruposp2p.aula.gwt.client.AulaApplication;
import org.gruposp2p.aula.gwt.client.AulaConstants;
import org.gruposp2p.aula.gwt.client.content.course.NewCourseDialogBox.CwConstants;
import org.gruposp2p.aula.gwt.client.event.AulaEventBus;
import org.gruposp2p.aula.gwt.client.event.CoursesChangeEvent;
import org.gruposp2p.aula.gwt.client.event.CoursesChangeHandler;
import org.gruposp2p.aula.gwt.client.event.StudentChangeEvent;
import org.gruposp2p.aula.gwt.client.event.StudentChangeHandler;
import org.gruposp2p.aula.gwt.client.model.Student;

import com.google.gwt.i18n.client.Constants;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;

public class StudentScoresPanel extends VerticalPanel implements StudentChangeHandler {
	
	private Student selectedStudent;
	private TextBox nameTextBox;
	private TextBox descriptionTextBox;
	private AulaApplication aulaApplication;
	
	public static interface CwConstants extends Constants {}
	
	/**
	 * An instance of the constants.
	 */
	private AulaConstants constants;
	
	public StudentScoresPanel (AulaApplication aulaApplication) {
		this.aulaApplication = aulaApplication;
		constants = aulaApplication.getConstants();
		//layout = new FlexTable();
	    // Create a dialog box and set the caption text
        ensureDebugId("NewCourseDialogBox");
        //showDialog();
        AulaEventBus.getInstance().registerToStudentChange(this);
	}

	@Override
	public void processStudent(StudentChangeEvent event) {
		// TODO Auto-generated method stub
		
	}
	
	private void setStudent(Student student) {
		
	}

}
